import { App } from 'vue'
import reportColumn from './reportTable/report-column.vue'
import reportTable from './reportTable/report-table.vue'
import PreviewImage from './PreviewImage.vue'
import Crumbs from './Crumbs.vue'

const components = [reportColumn, reportTable, PreviewImage, Crumbs]

const install = function (Vue: App<Element>) {
  components.forEach(ele => {
    Vue.component(ele.__name as string, ele)
  })
}

export default install
